import request from '@/utils/axios';
import appName from "../../appName"

// 查询职业代码维护列表
export function getEmploymentList(params) {
    return request({
      url: appName.NB+'/maintain/employment/queryList',
      method: 'post',
      data: params
    })
}

// 删除职业代码信息
export function deleteEufnpky(params) {
    return request({
      url: appName.NB+'/maintain/employment/deleteEufnpky',
      method: 'post',
      data: params
    })
}

// 增加/编辑职业代码信息
export function updateEufnpky(params) {
    return request({
      url: appName.NB+'/maintain/employment/updateEufnpky',
      method: 'post',
      data: params
    })
}

// 查询使用者授权维护列表
export function getAccreditList(params) {
    return request({
      url: appName.NB+'/maintain/useraccredit/queryList',
      method: 'post',
      data: params
    })
}

// 删除使用者授权信息
export function deleteEufgpky(params) {
    return request({
      url: appName.NB+'/maintain/useraccredit/deleteEufgpky',
      method: 'post',
      data: params
    })
}

// 增加/编辑使用者授权信息
export function updateEufgpky(params) {
    return request({
      url: appName.NB+'/maintain/useraccredit/updateEufgpky',
      method: 'post',
      data: params
    })
}

export function getUserName(params) {
    return request({
      url: appName.NB+'/maintain/useraccredit/getName',
      method: 'post',
      data: params
    })
}

